<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../css/form.css" />
<sj:head jqueryui="true" jquerytheme="cupertino" />
<title>AAL</title>
</head>
<body>
<div id="Editphatdt" align="center">
<h2>Tên đăng nhập <s:property
	value="employee.account.userName" /></h2>
<fieldset style="width: 95%;"><legend style="">Nhập
thông tin nhân viên </legend> <s:form id="Editphatdt1" method="post" action="Manager_updateEmployee">
	<table align="left">
		<tr>
			<td class="label"><s:textfield label="Họ và tên"
				cssClass="smallInput wide"
				name="employee.account.accountInformation.fullName"
				value="%{employee.account.accountInformation.fullName}" /></td>
		</tr>
		<tr>
			<td class="label"><sj:datepicker label="Ngày sinh"
				readonly="true" cssClass="smallInput wide"
				name="employee.account.accountInformation.birthDate"
				value="employee.account.accountInformation.birthDate" /></td>
		</tr>
		<tr>
			<td class="label"><s:select
				name="employee.account.accountInformation.city.cityID" list="listCity"
				listKey="cityID" listValue="cityName" label="Thành phố"
				cssClass="smallInput wide" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Địa chỉ"
				cssClass="smallInput wide" name="employee.account.accountInformation.address"
				value="%{employee.account.accountInformation.address}" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Email"
				cssClass="smallInput wide" name="employee.account.accountInformation.email"
				value="%{employee.account.accountInformation.email}" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Di động"
				cssClass="smallInput wide"
				name="employee.account.accountInformation.telephone"
				value="%{employee.account.accountInformation.telephone}" /></td>
		</tr>
		<tr>
			<td class="label"><s:textfield label="Điện thoại nhà"
				cssClass="smallInput wide"
				name="employee.account.accountInformation.homePhone"
				value="%{employee.account.accountInformation.homePhone}" /></td>
		</tr>
		<tr>
			<td class="label"><s:select
				name="employee.department.departmentID" list="listdepmt"
				listKey="departmentID" listValue="departmentName" label="Chức vụ"
				cssClass="smallInput wide" /></td>
		</tr>
		<tr>
			<td><s:select name="employee.account.statusOfAccount.statusOfAccountID" list="listStatusOfAccounts"
				listKey="statusOfAccountID" listValue="statusName"
				label="Trạng thái nhân viên" cssClass="smallInput wide" /></td>
		</tr>
	</table>
	<s:hidden name="EmployeeID" value="%{employee.EmployeeID}"></s:hidden>
	
	
	
</s:form></fieldset>
</div>
<div align="left">
<ul class="form"> 
	<li class="left">&nbsp;</li>
		<li class="right"><s:url id="Manager_listEmployee"
			value="/Manager_listEmployee" /> <sj:submit title="Danh sách nhân viên"
			id="lnkManager_listEmployee" href="%{Manager_listEmployee}"
			button="true" value="Trở về" targets="viewListEmpl" class="link"></sj:submit>
		<s:url id="Manager_updateEmployee" value="/Manager_updateEmployee" /> <sj:submit
			title="Cập nhật nhân viên" id="lnkManager_updateEmployee"
			href="%{Manager_updateEmployee}" button="true" value="Cập nhật"
			targets="Editphatdt" class="link"></sj:submit></li>
		<li class="clr"></li>

	</ul>
	</div>
</body>
</html>